/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.q3and4.interfacesegregationprin.infrastracture;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.q3and4.interfacesegregationprin.model.obey.Cybok;
import za.ac.cput.q3and4.interfacesegregationprin.model.obey.FeedableInterface;
import za.ac.cput.q3and4.interfacesegregationprin.model.obey.Workers;

/**
 *
 * @author user
 */
@Configurable
public class InterfacesegrConfig {
    @Bean(name = "isp")
    public FeedableInterface getWorkers(){
        return new Workers();
    }
}
